package com.train.mgr.modules.biz.service;

import com.train.mgr.modules.biz.dto.response.CalScoreResultVO;
import com.train.mgr.modules.biz.entity.AudioMetricRule;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 * 音频指标评分规则 服务类
 * </p>
 *
 * @author cxg
 * @date 2025-10-18
 */
public interface IAudioMetricRuleService extends IService<AudioMetricRule> {

    AudioMetricRule findOneByMetricAndScore(String metric, double score);

    CalScoreResultVO calcByRule(String metric, double aiValue);
}
